package cc.lcdsg.service;

import org.springframework.stereotype.Service;

import cc.lcdsg.exception.ServiceException;

@Service
public class TestService {
	
	public void thorwServiceException(String id) throws Exception {
		if("2".equals(id)) {
			throw new ServiceException("service异常");
		}
	}
	
}
